package com.pms.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pms.dao.HdMonthlyRepaymentMapper;
import com.pms.domain.HdMonthlyRepayment;
import com.pms.service.HdMonthlyRepaymentService;
@Service
public class HdMonthlyRepaymentServiceImpl implements HdMonthlyRepaymentService {
	
	@Autowired
	HdMonthlyRepaymentMapper hdMonthlyRepaymentMapper;

	@Override
	public void insertHdMonthlyRepayment(List<HdMonthlyRepayment> listHdMonthlyRepayment) {
		hdMonthlyRepaymentMapper.insertHdMonthlyRepayment(listHdMonthlyRepayment);
	}

	@Override
	public List<HdMonthlyRepayment> selectHdMonthlyRepaymentByBatchid(Map<String, Object> params) {
		return hdMonthlyRepaymentMapper.selectHdMonthlyRepaymentByBatchid(params);
	}

}
